<?php

namespace app\index\controller;

use think\Controller;
use app\index\model\StaffModel;
use think\Db;


class Staff extends Controller
{
  function login(){
    
    $acc =$_GET['acc'];
    $data = [
      'acc'=>$acc
    ];
    $res = StaffModel::where($data)->select();

    return json($res);

  }

}